package com.zhiyou.service;

import com.zhiyou.model.Rent;

import java.util.HashMap;
import java.util.List;

public interface RentService {
    int getRentNum(HashMap<String,String> keywordMap);

    List<Rent> getRent(int pageNo, int pageSize,HashMap<String,String> keywordMap);

    void deleteById(int rid);

    void addNew(Rent rent);

    Rent selectById(int rid);

    void updateNew(Rent rent);
}
